package com.linked.commonentity.basemanage.generallog;

import lombok.Data;

/**
 * @author :dbq
 * @date : 2023/5/12 13:29
 * @description : desc
 */
@Data
public class LinkedGeneralLog {


    private String logPosition;

    private String positionName;

    private Integer logOrder;

    private String logProject;

    private String methodStatus;

    private String methodParam;

    private String methodResponse;

    private String remarks;

    private String traceId;

    public static LinkedGeneralLog Builder() {
        return new LinkedGeneralLog();
    }

    public LinkedGeneralLog withLogPosition(String logPosition) {
        this.setLogPosition(logPosition);
        return this;
    }

    public LinkedGeneralLog withLogOrder(Integer logOrder) {
        this.setLogOrder(logOrder);
        return this;
    }

    public LinkedGeneralLog withLogProject(String logProject) {
        this.setLogProject(logProject);
        return this;
    }

    public LinkedGeneralLog withMethodStatus(String methodStatus) {
        this.methodStatus = methodStatus;
        return this;
    }

    public LinkedGeneralLog withMethodParam(String methodParam) {
        this.setMethodParam(methodParam);
        return this;
    }

    public LinkedGeneralLog withMethodResponse(String methodResponse) {
        this.methodResponse = methodResponse;
        return this;
    }

    public LinkedGeneralLog withRemarks(String remarks) {
        this.setRemarks(remarks);
        return this;
    }

    public LinkedGeneralLog withTraceId(String traceId) {
        this.setTraceId(traceId);
        return this;
    }

    public LinkedGeneralLog withPositionName(String positionName) {
        this.setPositionName(positionName);
        return this;
    }

}
